package com.hpin.fansea.utils;

/**
 * Created by Aaron on 15/9/7.
 */
public class Constant {

//    public static String WEB_ROOT = "http://182.92.228.127:8080/lehuijia/interface/"; //
	public static final String WEB_ROOT = "http://182.92.227.4:8081/lehuijia/interface/"; // 测试
//	public static final String WEB_ROOT = "http://192.168.1.5:8080/sgj/interface/"; // 测试
    public static final String WXPAY_URL = "http://182.92.227.4:8086/lehuijia/payinterface/reqWXPayInfo.html"; // 微信支付信息
    public static final String Head_URL = "http://pic.ziroom.com.cn/steward_images/"; // 管家头像地址
    public static final String UPLOADHead_URL = "http://www.ziroom.com/?_p=api&_a=uploadImg"; // 图片上传地址
    public static final String ROLLIMAGE = "http://www.ziroom.com/?_p=api&_a=carousel"; // 轮番图地址

    public static final String REGIST_AGREEMENT_URL = "http://lehuihome.cn/xieyi.htm"; // 注册协议地址

    public static final String PHOTO_CACHE = "/fanseaCache"; //拍照图片存储的文件夹名称

    public static final String SYSTEM_TYPE = "1000500060004"; // 客户端类型
    //登录用户类型
    public static final String INTERFACE_USERTYPE_NORMAL="1000500050001";//正常登录
    public static final String INTERFACE_USERTYPE_VISITOR="1000500050002";//游客登录

    public final static String STATUS_SUCESS = "1000100030001"; // 成功
    public final static String STATUS_FAILED = "1000100030002"; // 失败

    //轮播图轮播的延迟时间
    public final static long MSG_DELAY = 3000;//轮播图轮播的延迟时间

    public static final int MAX_SIZE = 1000;//轮播图的最大张数
    /** 游客 */
    public static final String STATUS_VISITOR = "1000500010003";
    /** 注册用户 */
    public static final String REGISTER_USER = "1000500010002";
    /** 认证用户 */
    public static final String AUTH_USER = "1000500010001";
    /** 锁定用户 */
    public static final String AUTH_LOCK = "1000500020002";
    /** 注销用户 */
    public static final String AUTH_OUT = "1000500020003";
    /** 待认证 */
    public static final String AUTH_WAIT = "1000500030001";
    /** 认证通过 */
    public static final String AUTH_PASSED = "1000500030002";
    /** 认证不通过 */
    public static final String AUTH_RESUSED = "1000500030003";
    /**分页加载数据,每页的条目数*/
    public static final int PAGECOUNT = 15;

    /* dictId 商家类型id */
    public static final String RECOMMEND = "1000200030001";// 今日推荐
    public static final String FOOD = "1000200010001";// 美食
    public static final String LEISURE = "1000200010002";// 休闲
    public static final String MOVIE = "1000200010003";// 购物
    public static final String TRANSATION = "1000200010004";// 生活服务
    public static final String ATTRACTION = "1000200010005";// 更多

    /** 性别 女 */
    public static final String SEX_FREMALE = "1020202";
    /** 性别男 */
    public static final String SEX_MALE = "1020201";

    public static final String CONFIG = "config";//sp 配置文件名称
    public static final String NODATA = "数据获取失败";
    public static final String NOMOREDATA = "没有更多数据了";
    public static final String LOADING = "加载中...";
    public static final String WAIT = "请稍候...";
    /** 我是尚管家的密码 */
    public static final String DEFAULT_PSW = "我是尚管家的密码";
    public static final String DEFAULT_PSW_SHORT = "我是尚管家";
    public static final String NETWORK_EXCEPTION_ERROR = "请检查您的网络配置";

    //登录后用户保存的数据
    public static final String communityId = "communityId";
    public static final String token = "token";
    public static final String userName = "userName";
    public static final String userId = "userId";//15311280989
    public static final String nickname = "nickname";
    public static final String headPic = "headPic";
    public static final String address = "address";
    public static final String password = "password";
    public static final String status = "status";//1000500010002
    public static final String email = "email";
    public static final String mobile = "mobile";
    public static final String cityId = "cityId";
    public static final String projectName = "projectName";//首创•澜茵山
    public static final String houseCode = "houseCode"; //BJ-AZ53-ZZ-03-02-1001
    public static final String currentCommunityId = "currentCommunityId";
    public static final String houseId = "houseId";
    public static final String gender = "gender";//1020201
    public static final String birthday = "birthday";
    public static final String age = "age";
    public static final String cityName = "cityName";
    public static final String communityName = "communityName";
    public static final String buildingNo = "buildingNo";//3号楼
    public static final String unitNo = "unitNo";//2单元
    public static final String houseNo = "houseNo";//2-1001
    public static final String idNo = "idNo";//



    //fragment 的 tag
    public static final String HOME = "HOME";
    public static final String ENGAGEDSERVICE = "ENGAGEDSERVICE";
    public static final String SHOPPINGCIRCLE = "SHOPPINGCIRCLE";
    public static final String MY = "MY";

    // 订单支付方式 1000700010001:网上支付1000700010002:货到付款
    public static final String PAY_TYPE_NET = "1000700010001";
    public static final String PAY_TYPE_CARGO = "1000700010002";
    // 配送方式
    public static final String DELV_SUPPLE = "1000700020001";// 供应商配送
    public static final String DELV_PROPERTY = "1000700020002";// 物业配送
    public static final String DELV_USER = "1000700020003";// 用户自取
    // 订单类型
    public static final String ORDER_PURCHASE = "1000700050001";// 团购
    public static final String ORDER_GOODS = "1000700050002";// 商品
    // 支付结果
    // 1000100030001：成功1000100030002：失败
    public static final String PAY_SUCESS = "1000100030001";// 成功
    public static final String PAY_FAIL = "1000100030002";// 失败

    /* 我的订单 */
    // 订单状态ordStat
    public static final String ORDER_STATE_NOT_PAY = "1000700070001";// 未付款
    public static final String ORDER_STATE_PAY = "1000700070002";// 已付款
    public static final String ORDER_STATE_CANEL = "1000700070003";// 已取消

    public static final String ORDER_STATE_VALID = "1000700070006";// 有效订单
    public static final String ORDER_STATE_ARRIVE = "1000700070007";// 到货订单
    public static final String ORDER_STATE_FINISH = "1000700070008";// 已完成
    // 退款状态
    public static final String ORDER_STATE_RETURN_WAIT = "1000700070009";// 退款待审核
    public static final String ORDER_STATE_SUBMIT_REFUND_SUCCESS = "1000700070004";// 待退款
    public static final String ORDER_STATE_SUBMIT_REFUND_FAIL = "1000700070005";// 审核不通过

    public static final String ORDER_STATE_RETURN_REFUND_SUCCESS = "1000700070010";// 已退款
    // 添加新状态
    // 退货状态
    public static final String ORDER_STATE_RETURN_GOODS_APPLY = "1000700070020";// 退货申请
    public static final String ORDER_STATE_RETURN_GOODS_WAIT = "1000700070021";// 待退货
    public static final String ORDER_STATE_RETURN_GOODS_WAREHOUSEING = "1000700070022";// 退货已入库
    public static final String ORDER_STATE_RETURN_GOODS_REFUND = "1000700070023";// 退货已退款
    public static final String ORDER_STATE_DISTR = "1000700070024";// 配送中

    public static final String PHOTOS_SUB = "19890618";//图片分割字段

    public static final String LOGIN = "loginService"; // 登录
    public static final String CITY_LIST = "houseService/cityList"; // 城市列表
    public static final String HOUSESERVICE = "houseService/"; // 小区列表
    public static final String PROJECTLIST = "/projectList"; // 小区列表

    public static final String GETCODE = "changePasswordVerification"; // 获取忘记密码的验证码
    public static final String RESETPASSWORD = "changePasswordService/"; // 修改密码
    public static final String ADDMAINTAIN = "maintainService/addMaintain/";// 报修
    /** 获取办事指南分类 */
    public static final String GUIDECLASSIFY = "guideService/guideTypeList";
    public static final String GUIDELIST = "guideService/guideList";// 获取办事指南列表
    public static final String GUIDECOMMENTLIST = "guideService/commentOfGuideList/";// 获取办事指南评论列表
    public static final String ADDGUIDECOMMENTLIST = "commentOfGuideService/addCommentOfGuide/";// 办事指南发表评论
    public static final String REGISTSERVICE = "registService";// 注册

    public static final String COMMUNITYSERVICE = "loginCommunityService/";// 第一次选择小区
    public static final String BUSSNISEINDEXLIST = "nearBussniseService/list";// 获取商家首页列表
    public static final String BUSSNISECOMMENTLIST = "nearBussniseService/commentOfNBList/";// 获取商家评论列表
    public static final String ADDBUSSNISECOMMENT = "commentOfNBService/addCommentOfNB";// 周边商家发表评论
    public static final String SUGGESTBACK = "feedbackService/saveFeedback";//意见反馈
    /** 意见类型 建议 */
    public static final String SUGGEST_BACK = "1000800020001";
    public static final String UPLOADPIC = "utilservice/receivePic";// 上传图片
    /** 获取轮播图*/
    public static final String  GETBUNNER = "advertMapService/advertMapList"; // 获取轮播图
    /** 首页banner */
    public static final String HOMEPAGER = "10008000100010001";//首页banner
    /** 服务banner */
    public static final String SERVERPAGER = "10008000100010002";//服务banner
    /** 团购banner */
    public static final String PURCHASEPAGER = "10008000100010003";//团购banner
//    /** 近邻banner */
//    public static final String NEIGHBORPAGER = "10008000100010004";//近邻banner
    /** 轮播图是否调转到团购详情页面 */
    public static final String JUMP_PURCHASE = "groupbuy";//轮播图是否调转到团购详情页面
    public static final String CELLBROADCASTLIST = "cellBroadcastService/cellBroadcastList";// 获取小区广播列表
    public static final String CELLBROADCASTDETAIL = "cellBroadcastService/cellBroadcastDetail/";// 获取小区广播详细信息

    /** 修改个人信息 */
    public static final String FIXMYINFO = "modifyMyInfoService";
    /** 获取小区期次 */
    public static final String COMMUNITYISSUE = "newhouseService/qiciList";//获取小区期次
    /** 获取楼栋列表 */
    public static final String COMMUNITYBUILD = "newhouseService/buildingList";//获取楼栋列表
    /** 获取单元列表 */
    public static final String COMMUNITYUNIT = "newhouseService/unitList";//获取单元列表
    /** 获取房屋号 */
    public static final String COMMUNITROOM = "newhouseService/houseList";//获取房屋号
    /** 用户认证 */
    public static final String AUTH = "certificationService";//用户认证
    public static final String MYORDERLIST = "groupBuyService/";// 我的订单列表
    public static final String SALE_RETURN = "groupBuyService/salesReturn";// 申请退货
    public static final String GETMAINTAINLIST = "maintainService/maintainList";// 获取报修记录列表
    public static String COMMUNITY_LIST = "houseService/cityList"; // 小区列表
    public static String Building_List = "houseService/201/001/buildingList"; // 楼栋列表

    /** 我的消息 */
    public static final String MYNEWS = "messageService/myPushMessage";//我的消息
    public static final String NEARBUSSNISELIST = "nearBussniseService/nearBussniseList";// 获取周边商家列表



    /**添加收货地址*/
    public static String ADD_ADDRESS = "userAddressService/addAddress";
    /**删除收货地址*/
    public static String DELETE_ADDRESS = "userAddressService/deleteAddress";
    /**更新收货地址*/
    public static String UPDATE_ADDRESS = "userAddressService/updateAddress";
    /**查询所有的收货地址*/
    public static String GET_ADDRESSES = "userAddressService/userAddressList";

    /*
     * 团购
     */
    public static String groupBuyService="groupBuyService/search";
    public static String GroupBuyCategoryList = "groupBuyService/groupBuyCategoryList";// 团购分类

    public static String GroupBuyList = "groupBuyService/groupBuyList";// 官方团购列表
    public static String GroupBuyInfo = "groupBuyService/groupBuyInfo";// 官方团购详情
    public static String GuangfangCommentList = "groupBuyService";// 官方团购评论列表

    public static String GuangfangComment = "groupBuyService/reviewGroupBuy";// 官方团购评论
    public static String PurchasePay = "groupBuyService/pay";// 团购支付
    public static String PurchaseOrder = "groupBuyService/shopping";// 团购下单
    public static String MyRedPacket = "redPacketService/myRedPacket";// 获取红包数量
    public static String CheckGroupBuying = "groupBuyService/checkGroupBuying";// (是否购买过本团)


    /*
     * 服务
     */
    public static String NearBussniseType = "nearBussniseTypeService/nearBussniseTypeList";// 获取商家类型

    public static String NearBussniseDetail = "nearBussniseService/nearBussniseDetail/";// 获取某商家的详细信息

    public static String GuideDetail = "guideService/guideDetail/";// 获取办事详细信息




    public static String HotSpotList = "hotSpotService/hotSpotList";// 获取热点列表
    public static String HosSpotDetail = "hotSpotService/hosSpotDetail/";// 获取热点详细信息
    public static String FwIndexList = "FwCommonService/fwList";// 获取服务首页列表

    public static String PropertyFeeUdList = "propertyFeeService/propertyFeeUdList";// 历史物业费列表
    public static String PropertyFeeUd = "propertyFeeService/propertyFeeUd";// 当年代缴物业费列表
    public static String PayRecordList = "payRecordService/payRecordList";// 缴费记录列表
    public static String AllPropertyFeeUd = "propertyFeeService/propertyFeeList";// 今年和历史的物业费
    public static String AddPayRecord = "payRecordService/addPayRecord";// 保存缴费记录


    /** 免费抢 */
    public static final String AddMyCoupon = "couponService/addMyCoupon";

    /** 获取当年的物业费 */
    public static final String GETCURRENTYEARCOST = "newpropertyFeeService/propertyFeeUd";
    /** 获取历史物业费列表 */
    public static final String GETHISTORYCOSTLIST = "newpropertyFeeService/propertyFeeUdList";
    /** 物业费提交订单 */
    public static final String PROPERTYSENDORDER = "payRecordService/addPayRecord";
    /** 论坛发帖 */
    public static final String BBSSENDPOST = "bbsService/addBbsInfo";
    /** 论坛回帖 */
    public static final String BBSSENDCOMMENT = "bbsService/addBbsAnswer/";
    /** 图片分割字典值 */
    public static final String sub = "19890618";


    /*
     * 近邻
     */
    public static String ActivityList = "activityService/activityList";// 活动列表
    public static String SelfActivityList = "activityService/selfActivity";// 我的活动列表
    public static String ActivityRegistration = "activityService/activityRegistration/";// 活动报名
    public static String ActivityUnRegistration = "activityService/activityOffRegistration/";// 活动取消报名
    public static String FabuActivity = "activityService/fabuActivity";// 活动发布
    public static String QuxiaoFabuActicity = "activityService/quxiaoActicity/";// 活动取消发布
    public static String ActivityUserList = "activity/activityUser/";// 活动成员列表
    public static String UserByActivit = "activityService/userByActivity/";// 我参与的活动
    public static String BbsBoardList = "bbsService/bbsBoardList";// 论坛分类 （主题模块）
    /** 获取论坛分类列表 */
    public static final String GETBBSBOARDLIST = "bbsService/bbsInfoList";
    /** 获取论坛评论列表 */
    public static final String GETBBSCOMMENTLIST = "bbsService/bbsAnswerList";
    /** 获取活动评论列表 */
    public static final String GETACTIVITYCOMMENTLIST = "activityService/activeReviewList";

    public static String BbsInfoList = "bbsService/bbsInfoList";// 论坛帖子列表
    public static String BbsAnswerList = "bbsService/bbsAnswerList";// 论坛回帖列表
    public static String AddBbsInfo = "bbsService/addBbsInfo/";// 发布帖子
    /** 删除帖子*/
    public static String DELETEBBSINFO = "bbsService/deleteBbsinfo/";
    public static String AddBbsAnswer = "bbsService/addBbsAnswer/";// 发布回帖
    public static String DeleteBbsAnswer = "bbsService/deleteBbsAnswer/";// 删除回帖
    public static String BbsInfoDetail = "bbsService/bbsInfoDetail/";// 贴子详情
    public static String GoodsCategoryList = "groupBuyService/goodsCategoryList";// 二手分类
    public static String GoodsinfList = "goodsinfService/goodsinfList";// 二手列表
    /**获取发布的二手的详细信息*/
    public static String USEDPUSHDETAIL = "goodsinfService/goodsinfDetail/";
    /**活动发表评论*/
    public static String ACTIVITYPUSHIBLECOMMENT = "activityService/fabuActiveReview";

    public static String SelfGoodsinfList = "goodsinfService/selfGoodsinf";// 我的二手列表列表
    /** 我发布的*/
    public static String MYALLPUSH = "JlCommonService/jlcommon";
    public static String FabuGoodsinf = "goodsinfService/fabuGoodsinf";// 二手发布
    /** 二手取消发布*/
    public static String UESDPUSHCANCLE = "goodsinfService/quxiaoActicity/";
    public static String GoodsinfCommentList = "goodsinfService/goodsinfRecordList";// 二手评论列表
    public static String AddGoodsinfRecord = "goodsinfService/AddGoodsinfRecord/";// 二手发布评论
    public static String CarpoolList = "carpoolService/carpoolList";// 拼车列表
    public static String SelfCarpoolList = "carpoolService/selfCarpool";// 我的拼车列表
    public static String FabuCarpool = "carpoolService/fabuCarpool";// 拼车发布
    // public static String FabuCarpool = "newcarpoolService/fabuCarpool";//
    // 拼车发布
    public static String QuxiaoFabuCarpool = "carpoolService/quxiaoCarpool/";// 拼车取消发布
    /** 获取二手评论列表 */
    public final static String UESDCOMMENTLIST = "goodsinfService/goodsinfRecordList";
    /** 发布二手评论 */
    public final static String UESDCOMMENTLISTSEND = "goodsinfService/AddGoodsinfRecord/";

    public static String SHOWOUTSIDE = "JlCommonService/jlList";

    /*
     * 我的
     */
    public static String MyCouponList = "couponService/couponList";// 我的优惠券列表
    public static String GetCouponList = "nearBussniseService/couponList/";// 获取商家优惠券列表信息
    public static String UpLoadPic = "utilservice/receivePic";// 上传图片
    /** 我的信息 */
    public static final String MYINFO = "getUserInfoService";
    /** 获得帖子详情 */
    public static final String GETBBSDETAIL = "/bbsService/bbsInfoDetail/";





    /** 用户认证之前的接口 */
    public static final String AUTH_BEFORE = "getAuthenticationService";

    /** 获取优惠券 */
    public static final String COUPON = "couponService/myCouponList";
    /** 获取我的红包信息 */
    public static final String REDPACKET = "redPacketService/myRedPacketInfo";
    /** 签到的接口 */
    public static final String SIGNACTION = "signService/signRegistration";
    /** 获得签到的天数 */
    // public static final String SIGNTIMES = "signService/qianDaoTianshu";
    public static final String SIGNTIMES = "signService/mySignRecode";
    /** 是否已经签到 */
    public static final String ISSIGN = "signService/tubiaoxianshi";

    /** 退出登录 */
    public static final String QUITLOGIN = "logoutService";
    /** 我发布的活动详情 */
    public static final String MYPUSHACTIVITYDETAIL = "activityService/activityDetail/";


}
